package com.linwen.javase.desgin_pattern.BigTalkDesignPattenJAVACode._20职责链模式._3申请加薪;

//管理者抽象类
abstract class Manager{
    protected String name;
    public Manager(String name){
        this.name = name;
    }

    //设置管理者上级
    protected Manager superior;
    public void setSuperior(Manager superior){
        this.superior = superior;
    }

    //请求申请
    public abstract void requestApplications(Request request);
}